solve the system of 3 linear equations useing matrices